export const mixin = Behavior({
  data: {
    tabBar: ['/pages/index/index', '/pages/my/index']
  },
  methods: {
    //筛选tabBar 是否存在  返回 true||false
    isTabBar(url) {
      return this.data.tabBar.includes(url)
    }
  }
})